package com.lzm.ydpt.mvp.contract;

import com.byt.framlib.basemvp.BaseView;
import com.byt.framlib.basemvp.basebean.BaseResponseBean;
import com.google.gson.JsonObject;

import io.reactivex.Observable;

/**
 * 接口名称：DiscountActionContract
 * 接口描述：Contract
 */
public interface DiscountActionContract {

    /**
     * 模型接口
     */
    interface Model {
        Observable<BaseResponseBean<JsonObject>> onDiscountAction();
    }

    /**
     * 代理接口
     */
    interface Presenter {
        void onDiscountAction();
    }

    /**
     * 视图接口
     */
    interface View extends BaseView {
        void onDiscountAction();
    }
}